package com.zhongfl.crm.api.view;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import lombok.extern.slf4j.Slf4j;

/**
 * @author wang.yuchuan
 * @createdAt 2019/6/28
 */
@RestController
@RequestMapping("/api/v1/health")
@Slf4j
public class HealthController {

    @GetMapping("")
    public String health() {
        log.info("Hello");
        return "Hello";
    }
}
